package com.kk.base.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 网站基础信息配置类
 */
@Component
@PropertySource(value="classpath:site.properties")
@Data
public class SiteConfig {
	
	@Value("${site.name}")
	private String siteName;
	@Value("${site.url}")
	private String siteUrl;

}
